#include <stdio.h>

int t_func1(void);
int t_func2(void);

typedef int (*func_my)(void);

struct MY_S
{
    int ID;
    func_my t_func;
};

struct MY_S APP_State[] = {
    {1, (func_my)t_func1},
    {2, (func_my)t_func2},
};

int t_func1(void)
{
    return 1;
}

int t_func2(void)
{
    return 2;
}

int main(void)
{
    int* p = NULL;
    printf("int = %ld\r\n",sizeof(int));
    printf("p = %ld\r\n",sizeof(p));
    printf("struct MY_S = %ld\r\n",sizeof(struct MY_S));
    printf("APP_State = %ld\r\n",sizeof(APP_State));
    return 0;
}